<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            color: blue;
        }
        .div1{
            color: red;
        }
        #div3{
            color: aquamarine;
        }
        div>a{

            color: black;
            text-decoration: none;
        }
        span{
            color: bisque;
                }
        /* [name]{
            color: aliceblue;
        } */
        [name="name_div"]{
            color: beige;
        }
        .div4 li {
            color: black;
        }
        .div4>li{
            color: brown;
        }
    </style>
</head>
<body>
    <div class="div1" id="div2">div1
        <a href="">这是一个a标签</a>
    </div>
    <div class="div2" id="div2" name="name_div">div2</div>
    <div class="div3" id="div3">div3</div>
    <div class="div4" id="div4">div4
        <li>adadada</li>
        <li>adadada</li>
        <li>adadada</li>
        <li>adadada</li>

    </div>
    <span>这是一个span标签</span>




</body>
</html>